package com.dao.manager;

import java.util.List;
import java.util.Map;

import com.pojo.User;

public interface UserMapper {
	int deleteByPrimaryKey(Integer id);

	int insert(User record);

	int insertSelective(User record);

	User selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(User record);

	User queryUserFromUsername(String username);

	int insertUser(Map<String, String> paramsMap);

	List<Map<String, String>> getUserInfo(Map<String, String> paramsMap);

	int deleteUserInfo(Map<String, String> paramsMap);

	int updateUserInfo(User entity);

	int ishasname(Map<String, String> paramsMap);

}